]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
gnome-shell-jhbuild: exit 1 if gnome-shell-real failed
authorColin Walters <walters@verbum.org>
Fri, 11 Mar 2011 00:17:14 +0000 (19:17 -0500)
committerColin Walters <walters@verbum.org>
Fri, 11 Mar 2011 15:30:33 +0000 (10:30 -0500)
We need to be propagating the failure exit code so that
gnome-session knows something went wrong.

src/gnome-shell-jhbuild.in

index 3774777abab68d80798b4d85a43f5536e9127dbd..f10a576ff009a6a4eb573c06b5252bfbc054eac0 100755 (executable)
@@ -548,3 +548,8 @@ try:
 finally:
     if options.replace and (options.perf or not normal_exit):
         restore_gnome()
+
+if normal_exit:
+    sys.exit(0)
+else:
+    sys.exit(1)